home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / patchexe.zip / PATCHEXE.MSG < prev    next >
Internet Message Format  |  1990-07-14  |  860b

  1. From: ajayshah@castor.usc.edu
  2. Newsgroups: comp.binaries.ibm.pc
  3. Subject: v07i024: patchexe, replace strings in files
  4. Summary: Replace all occurences of a string in a file, such as exe
  5. Date: 15 Jul 90 04:26:28 GMT
  6.  
  7.   This is a program which converts every occurence of a string in a file
  8. to another string of the same length.  It's written in Pascal, and source
  9. is provided (but no comments).
  10.  
  11.   I renamed it patchexe, because there is a patch program which is well
  12. known.
  13.  
  14. Usage:
  15.  
  16.         patchexe [-v] filename string1 string2
  17.  
  18. filename is the file which is patched.
  19.  
  20. You must have length(string1) = length(string2).
  21.  
  22. Without the verbose flag, every occurence of string1 is replaced by string2.
  23. With verbose on, every occurence of string1 is displayed on screen, along
  24. with it's context, the patch is only made if you give a go ahead.
  25.